home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / c_text.zip / C_TEXT.DOC next >
Text File  |  1987-06-24  |  2KB  |  50 lines

  1. C_TEXT is a library of assembler functions that can be used by "C".
  2. The library was origionally written for Micrsoft C Version 4.0, but
  3. all the source code is included so that you can re-compile using
  4. your complier.  The object code library is called TEXT.LIB.
  5.  
  6. The included functions are:
  7.  
  8. 1. CLEAR(attribute) - Attribute should be an integer.  Clears the screen
  9.    to the defined color attribute.  Does not move the cursor to (0,0).
  10.  
  11. 2. GOTO_XY(x,y) - X and Y are integers.  Moves the text cursor to row X
  12.    and column Y.
  13.  
  14. 3. PUT_COLOR_STR(string,attribute) - String is a pointer to a string and
  15.    attribute is an integer.  Prints the pointed to string on the screen
  16.    in the color defined by attribute.  Prints at the current cursor location.
  17.  
  18. 4. CURSOR_ON() - Turns the text cursor on.
  19.  
  20. 5. CURSOR_OFF() - Turns the text cursor off.
  21.  
  22. 6. P_TIME(time_string) - Time_string is a pointer to a string.  Returns
  23.    the system time in time_string.  Ex.   12:20:45 a.m.  This function
  24.    was written in C.
  25.  
  26. 7. DRAW_BOX(x,y,h,w,attribute) - All parameters are integers.  Draws a 
  27.    double line box on the screen.  Upper left corner will be (x,y), width
  28.    will be w, height will be h, and color will be defined by attribute.
  29.  
  30. 8. DRAW_S_BOX(x,y,w,h,attribute) - Same as DRAW_BOX except it draws a
  31.    single line box.
  32.  
  33. 9. CLEAR_SECTION(x1,y1,x2,y2,attribute) - All parameters are integer.  
  34.    Clears the defined section of the screen to the color defined by
  35.    attribute. (x1,y1) is the upper left corner and (x2,y2) is the lower
  36.    right corner of the area.
  37.  
  38.  
  39. Please send any comments or suggestions to :
  40.  
  41. Jeff Smith
  42. Apt. 101C
  43. 30280 W. 12 Mile Rd.
  44. Farmington Hills, MI 48018
  45.  
  46.  
  47.  
  48.  
  49.  
  50.